package com.android.DSViews;

public class Vertex {
	
	static final int X = 0;
	static final int Y = 1;
	static final int Z = 2;
	
	float[] vertex = new float[3];
	
	Vertex()	{
		
	}
	
	Vertex(float x, float y, float z) {
		vertex[X] = x;
		vertex[Y] = y;
		vertex[Z] = z;
	}
	
	public String toString()
	{
	//	Float x = vertex[X];
	//	Float y = vertex[Y];
	//	Float z = vertex[Z];
	//	return x.toString()+" ,"+y.toString()+" ,"+z.toString();
		return    ((Float)vertex[X]).toString() + " ,"
				+ ((Float)vertex[Y]).toString() + " ,"
				+ ((Float)vertex[Z]).toString();
	}
}
